#include "messagegrouprequest.h"
#include "common/defines.h"
#include "converse/converseabstractmessage.h"


MessageGroupRequest::MessageGroupRequest(const Converse::AbstractMessage &message, QObject *parent) :
    Network::ConnectionJSONRequest(parent),
    m_message(message)
{
}


MessageGroupRequest::~MessageGroupRequest()
{

}


QString MessageGroupRequest::commandId() const
{
    return QString::number(SEND_MESSAGE_TO_CHAT_CHANEL);
}


QVariant MessageGroupRequest::data() const
{
    return m_message.toVariant();
}
